package cn.tedu.crm.customer.mapper;

import cn.tedu.crm.customer.pojo.dto.CustomerInsertParam;
import cn.tedu.crm.customer.pojo.dto.CustomerQuery;
import cn.tedu.crm.customer.pojo.entity.Customer;
import cn.tedu.crm.customer.pojo.vo.CustomerListVO;
import cn.tedu.crm.customer.pojo.vo.EditCustomerVO;
import cn.tedu.crm.deposit.pojo.vo.CustomerVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

public interface CustomerMapper extends BaseMapper<Customer> {

    List<CustomerListVO> selectCustomerList(CustomerQuery query);

    //移动端新增客户
    void insertCustomer(CustomerInsertParam customerInsertParam);

    CustomerVO selectIds(Long id);

    List<EditCustomerVO> SelectEditCustomer(CustomerQuery query);
}
